package com.example.movie.common.constants

object AppConstants {

    const val demoImage: String =
        "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1601382952825&di=4ac51227cd542522720b694947e80c8b&imgtype=0&src=http%3A%2F%2Ft9.baidu.com%2Fit%2Fu%3D1577456063%2C1344044640%26fm%3D79%26app%3D86%26f%3DJPEG%3Fw%3D1280%26h%3D853"

    private const val IP = "192.168.1.31"
    private const val PORT = 8080
    private const val CONTEXT = "movie"
    const val BASIC_REQUEST_URL: String = "http://$IP:$PORT/$CONTEXT/mobile/"
    const val STATIC_SOURCE_URL: String = "http://$IP:$PORT/$CONTEXT/"
    const val WS_URL = "ws://${IP}:${PORT}/${CONTEXT}/mobile/connect/websocket"
    const val PHONE: String = "^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}\$"
    const val SELECT_TAB = "selectTab"
    const val RADIX = 1000

}